package com.heima.article.controller;

import com.heima.article.service.IAbc;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/redis")
@Api(tags = "Redis操作")
public class Abc {

    @Autowired
    private IAbc iAbc;
    @GetMapping("/abc")
    public String Abc(){
       return iAbc.abc();
    }
}
